package com.buka.server.feign;

import com.buka.entity.Result;
import com.buka.server.pojo.UserControl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "user")
public interface UserFeign {
    @PostMapping("/user/findList")
    Result<List<UserControl>> findList(@RequestBody UserControl userControl);
}
